package B;

import java.net.http.HttpResponse;
/**
 * 电话
 */
public class Phone {
    private String dyestuff;
    private String call;
    public Phone(){}
    public Phone(String dyestuff,String call){
        this.dyestuff = dyestuff;
        this.call = call;
    }
    public void function(){
        System.out.println("这是一个"+this.dyestuff+"能"+this.call+"的座机");
    }
    public String getDyestuff() {
        return dyestuff;
    }

    public void setDyestuff(String dyestuff) {
        this.dyestuff = dyestuff;
    }

    public String getCall() {
        return call;
    }

    public void setCall(String call) {
        this.call = call;
    }
}
